<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core_1_1" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>学生信息管理系统 管理员后台</title>

    <link rel="shortcut icon" href="favicon.ico"/>
    <link rel="bookmark" href="favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="/easyui/css/default.css" />
    <link rel="stylesheet" type="text/css" href="/easyui/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="/easyui/themes/icon.css" />
    <script type="text/javascript" src="/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src='/easyui/js/outlook2.js'> </script>
    <script type="text/javascript">
        var _menus = {"menus":[
                <c:if test="${userType == 1}">
                {"menuid":"1","icon":"","menuname":"用户（管理员）管理",
                    "menus":[
                        {"menuid":"11","menuname":"用户列表","icon":"icon-user-teacher","url":"/user/list"}
                    ]
                },
                </c:if>
                {"menuid":"3","icon":"","menuname":"年级信息管理",
                    "menus":[
                        {"menuid":"31","menuname":"年级列表","icon":"icon-world","url":"/grade/list"},
                    ]
                },
                {"menuid":"4","icon":"","menuname":"班级信息管理",
                    "menus":[
                        {"menuid":"41","menuname":"班级列表","icon":"icon-house","url":"/clazz/list"}
                    ]
                },
                {"menuid":"2","icon":"","menuname":"学生信息管理",
                    "menus":[
                        {"menuid":"21","menuname":"学生列表","icon":"icon-user-student","url":"/student/list"},
                    ]
                },
            ]};
    </script>
</head>
<body class="easyui-layout" style="overflow-y: hidden"  scroll="no">
<noscript>
    <div style=" position:absolute; z-index:100000; height:2046px;top:0px;left:0px; width:100%; background:white; text-align:center;">
        <img src="images/noscript.gif" alt='抱歉，请开启脚本支持！' />
    </div>
</noscript>
<div region="north" split="true" border="false" style="overflow: hidden; height: 30px;
        background:  #7f99be;
        line-height: 20px;color: #fff; font-family: Verdana, 微软雅黑,黑体">
    <span style="float:right; padding-right:20px;" class="head"><span style="color:red; font-weight:bold;">${name}&nbsp;</span>您好&nbsp;&nbsp;&nbsp;<a href="/system/logout" id="loginOut">安全退出</a></span>
    <span style="padding-left:10px; font-size: 16px; ">【looli.club】学生信息管理系统</span>
</div>
<div region="south" split="true" style="height: 30px; background: #D2E0F2; ">
    <div class="footer">Copyright &copy; SWU By artisan</div>
</div>
<div region="west" hide="true" split="true" title="导航菜单" style="width:180px;" id="west">
    <div id="nav" class="easyui-accordion" fit="true" border="false">
        <!--  导航内容 -->
    </div>

</div>
<div id="mainPanle" region="center" style="background: #eee; overflow-y:hidden">
    <div id="tabs" class="easyui-tabs"  fit="true" border="false" >
        <jsp:include page="welcome.jsp" />
    </div>
</div>
</body>
</html>